{extend name='public/layout' /}

{block name="head"}
<style>
	.search-container {
		margin-bottom: 15px;
	}

	.search-input-block {
		position: relative;
	}

	.search-input-block .layui-input {
		padding-right: 68px;
	}

	.search-input-block .layui-btn {
		position: absolute;
		right: 0;
		top: 0;
	}
</style>
{/block}

{block name="body"}
<div class="search-container">
	<form action="{:url()}" style="max-width: 360px;margin: 0 auto">
		<div class="search-input-block">
			<input type="text" name="keywords" value="{$Request.param.keywords}" class="layui-input" maxlength="48" placeholder="请输入文章标题"/>
			<button class="layui-btn">
				<i class="layui-icon layui-icon-search"></i>
			</button>
		</div>
	</form>
</div>

{include file="post/weight/list" /}
{$data | raw}
{/block}

{block name='foot'}
{/block}
